using System;

namespace Confcloud.Email.Templates
{
	public partial class CreateUserEmail : EmailQueue<Confcloud.Email.Templates.CreateUserEmail>
	{
		public new const string TemplateName = "CreateUser";


		private readonly string _email;


		public CreateUserEmail(string email)
			: base(TemplateName)
		{
			_email = email;
		}


		#region Overrides of RestObject<ParticipantActivationEmail>

		public override Confcloud.Email.Templates.CreateUserEmail Get()
		{
			throw new NotImplementedException();
		}

		public override Confcloud.Email.Templates.CreateUserEmail Post()
		{
			base.Recipent = string.Format("{0}", _email);
			return base.Post();
		}

		public override Confcloud.Email.Templates.CreateUserEmail Put()
		{
			throw new NotImplementedException();
		}

		public override Confcloud.Email.Templates.CreateUserEmail Delete()
		{
			throw new NotImplementedException();
		}

		#endregion
	}
}